package com.cold.demo.generator.mybatis.utils;

import java.util.ArrayList;
import java.util.List;

public class Data {
    private String index;
    private String tableName;
    private String tableDesc;
    private List<Item> list = new ArrayList<>();
    public static class Item{
        private String fieldName;
        private String fieldType;
        private String fieldDesc;
        private String fieldAllowNull;
        private String fieldPri;

        public String getFieldName() {
            return fieldName;
        }

        public void setFieldName(String fieldName) {
            this.fieldName = fieldName;
        }

        public String getFieldType() {
            return fieldType;
        }

        public void setFieldType(String fieldType) {
            this.fieldType = fieldType;
        }

        public String getFieldDesc() {
            return fieldDesc;
        }

        public void setFieldDesc(String fieldDesc) {
            this.fieldDesc = fieldDesc;
        }

        public String getFieldAllowNull() {
            return fieldAllowNull;
        }

        public void setFieldAllowNull(String fieldAllowNull) {
            this.fieldAllowNull = fieldAllowNull;
        }

        public String getFieldPri() {
            return fieldPri;
        }

        public void setFieldPri(String fieldPri) {
            this.fieldPri = fieldPri;
        }
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableDesc() {
        return tableDesc;
    }

    public void setTableDesc(String tableDesc) {
        this.tableDesc = tableDesc;
    }

    public List<Item> getList() {
        return list;
    }

    public void setList(List<Item> list) {
        this.list = list;
    }
}
